<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/3/16
  Time: 17:36
  这是用户登录界面
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
  String path=request.getContextPath();
  String basePath=request.getScheme()+"：//"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
  <title>公务员报名系统</title>
  <link rel="stylesheet" href="/style/mycss.css" type="text/css">
</head>
<body>
<%@include file="FirstGuide.jsp" %>

<span class="blank8"></span>
<div id="wrapper">
  <div>
    <div class="areaSideBar clearfix" style="background-color: #fcfcfc;">
      <div class="titleBar ui_s4">
        <h2>
          登录界面
        </h2>
      </div>
      <div style="margin: 15px; min-height: 400px; _height: 400px;">
        <div style="height: 550px; width: 965px; overflow: auto;">
          <s:form action="login" method="post" namespace="/">
            <table width="458" height="239" align="center" >
              <tr>
                <s:textfield name="userName" label="账号"></s:textfield>
              </tr>
              <tr>
                <s:password name="password" label="密码" ></s:password>
              </tr>
              <tr>
                <s:submit action="login" value="登录"></s:submit>
              </tr>
              <tr>
                <td colspan="2" ><font color="red">${requestScope.message}</font></td>
              </tr>
            </table>
          </s:form>
        </div>
      </div>
    </div>
  </div>
</div>
</body>
</html>
